import 'dart:ui';

import 'package:fish_redux/fish_redux.dart';

abstract class GlobalBaseState {
  Color get themeColor;
  bool get isPad;
  set themeColor(Color color);
  set isPad(bool isPad);
}

class GlobalState implements GlobalBaseState, Cloneable<GlobalState> {
  @override
  Color themeColor;
  @override
  bool isPad;

  @override
  GlobalState clone() {
    print('点击切换主题颜色GlobalState->clone()'+themeColor.toString());
    return GlobalState();
  }

}
